package com.jye.rseven.service;

import com.jye.rseven.domain.Payment;

import java.util.List;

public interface PaymentService {
    Payment findPayById(int id);

    int addPay(Payment payment);

    List<Payment> findMyPayByUId(int uId, int skip, int limit);

    List<Payment> findMyPayByUIdAndStatus(int uId, String status, int skip, int limit);

    String confrimPayById(int id);

    String cancelPayById(int id);

    int paidPayById(int id);

    String frozenPayById(int id);

    Payment findPayByUIdAndCId(int uId, int cId);

    int findPayStatusByPId(int pId);

    List<Payment> findMyPayByUIdAndType(int uId,String type,int skip,int limit);
}
